import request from '@/utils/request'

export function getThreeLevelIndexList(query) {
    return request({
      url: '/kpIndex3Data/list',
      method: 'get',
      params: query
    })
}

export function saveThreeLevelIndex(data) {
  return request({
    url: '/kpIndex3Data/insert',
    method: 'post',
    data
  })
}

export function updateThreeLevelIndex(data) {
  return request({
    url: '/kpIndex3Data/updateById',
    method: 'post',
    data
  })
}

export function detailThreeLevelIndexList(query) {
  return request({
    url: '/kpIndex3Data/getById',
    method: 'get',
    params: query
  })
}

export function deleteThreeLevelIndexList(query) {
  return request({
    url: '/kpIndex3Data/deleteById',
    method: 'get',
    params: query
  })
}